.class Lcom/brixd/niceapp/activity/fragment/CardFragment$3;
.super Ljava/lang/Object;
.source "CardFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/brixd/niceapp/activity/fragment/CardFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/fragment/CardFragment;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/fragment/CardFragment;

    .prologue
    .line 209
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 6
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 213
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    iget-boolean v2, v2, Lcom/brixd/niceapp/activity/fragment/CardFragment;->mIsScrolling:Z

    if-nez v2, :cond_3d

    .line 214
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    const-string v3, "ClickGotoDetail"

    # invokes: Lcom/brixd/niceapp/activity/fragment/CardFragment;->traceEvent(Ljava/lang/String;)V
    invoke-static {v2, v3}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->access$100(Lcom/brixd/niceapp/activity/fragment/CardFragment;Ljava/lang/String;)V

    .line 216
    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->DAILY_NICE_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v2, v3, :cond_3e

    .line 217
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    const-string v3, "ClickGotoDetailFromDaily"

    # invokes: Lcom/brixd/niceapp/activity/fragment/CardFragment;->traceEvent(Ljava/lang/String;)V
    invoke-static {v2, v3}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->access$100(Lcom/brixd/niceapp/activity/fragment/CardFragment;Ljava/lang/String;)V

    .line 234
    :goto_1a
    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GOODS:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v2, v3, :cond_8a

    .line 235
    const-class v1, Lcom/brixd/niceapp/activity/NiceGoodsDetailActivity;

    .line 244
    .local v1, "targetClass":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
    :goto_22
    new-instance v0, Landroid/content/Intent;

    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-direct {v0, v2, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 245
    .local v0, "intent":Landroid/content/Intent;
    const-string v2, "AppModel"

    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    iget-object v3, v3, Lcom/brixd/niceapp/activity/fragment/CardFragment;->appModel:Lcom/brixd/niceapp/model/AppModel;

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 246
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    const/16 v3, 0x64

    invoke-virtual {v2, v0, v3}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->startActivityForResult(Landroid/content/Intent;I)V

    .line 248
    .end local v0    # "intent":Landroid/content/Intent;
    .end local v1    # "targetClass":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
    :cond_3d
    return-void

    .line 218
    :cond_3e
    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->TOPIC_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v2, v3, :cond_4c

    .line 219
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    const-string v3, "ClickGotoDetailFromTopic"

    # invokes: Lcom/brixd/niceapp/activity/fragment/CardFragment;->traceEvent(Ljava/lang/String;)V
    invoke-static {v2, v3}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->access$100(Lcom/brixd/niceapp/activity/fragment/CardFragment;Ljava/lang/String;)V

    goto :goto_1a

    .line 220
    :cond_4c
    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->USER_FAVORITES:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v2, v3, :cond_5a

    .line 221
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    const-string v3, "ClickGotoDetailFromFav"

    # invokes: Lcom/brixd/niceapp/activity/fragment/CardFragment;->traceEvent(Ljava/lang/String;)V
    invoke-static {v2, v3}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->access$100(Lcom/brixd/niceapp/activity/fragment/CardFragment;Ljava/lang/String;)V

    goto :goto_1a

    .line 222
    :cond_5a
    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GOODS:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v2, v3, :cond_68

    .line 223
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    const-string v3, "ClickGotoNiceGoodsDetail"

    # invokes: Lcom/brixd/niceapp/activity/fragment/CardFragment;->traceEvent(Ljava/lang/String;)V
    invoke-static {v2, v3}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->access$100(Lcom/brixd/niceapp/activity/fragment/CardFragment;Ljava/lang/String;)V

    goto :goto_1a

    .line 224
    :cond_68
    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_TEST:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v2, v3, :cond_76

    .line 225
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    const-string v3, "ClickGotoNiceTestDetail"

    # invokes: Lcom/brixd/niceapp/activity/fragment/CardFragment;->traceEvent(Ljava/lang/String;)V
    invoke-static {v2, v3}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->access$100(Lcom/brixd/niceapp/activity/fragment/CardFragment;Ljava/lang/String;)V

    goto :goto_1a

    .line 226
    :cond_76
    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GAME:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v2, v3, :cond_84

    .line 227
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardFragment$3;->this$0:Lcom/brixd/niceapp/activity/fragment/CardFragment;

    const-string v3, "ClickGotoNiceGameDetail"

    # invokes: Lcom/brixd/niceapp/activity/fragment/CardFragment;->traceEvent(Ljava/lang/String;)V
    invoke-static {v2, v3}, Lcom/brixd/niceapp/activity/fragment/CardFragment;->access$100(Lcom/brixd/niceapp/activity/fragment/CardFragment;Ljava/lang/String;)V

    goto :goto_1a

    .line 230
    :cond_84
    const-string v2, "ClickGotoDetailFromUnknown"

    invoke-static {v2}, Lcom/zuiapps/suite/utils/log/LogUtil;->w(Ljava/lang/String;)V

    goto :goto_1a

    .line 236
    :cond_8a
    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_TEST:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v2, v3, :cond_93

    .line 237
    const-class v1, Lcom/brixd/niceapp/activity/NiceTestDetailActivity;

    .restart local v1    # "targetClass":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
    goto :goto_22

    .line 238
    .end local v1    # "targetClass":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
    :cond_93
    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GAME:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v2, v3, :cond_9c

    .line 239
    const-class v1, Lcom/brixd/niceapp/activity/NiceGameDetailActivity;

    .restart local v1    # "targetClass":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
    goto :goto_22

    .line 241
    .end local v1    # "targetClass":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
    :cond_9c
    const-class v1, Lcom/brixd/niceapp/activity/NiceAppDetailActivity;

    .restart local v1    # "targetClass":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
    goto :goto_22
.end method
